 
		
 <?php if(!empty($this->messages['DbError'])):?>
 <div class="alert alert-block alert-error fade in">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <h4 class="alert-heading">Erreur d'insertion des données</h4>
            <p> 
            	<?= $this->messages['DbError'] ?> 
            </p>
          </div>
<?php endif;?>
	
	 <?php  $this->headScript()->appendFile($this->baseUrl().'/resources/jqueryui/development-bundle/ui/jquery.ui.datepicker.js'); ?>
<script>
	$(function() {
		$( "#datedebpre" ).datepicker();
		$( "#datefinpre" ).datepicker();
		$( "#datedeb" ).datepicker();
		$( "#datefin" ).datepicker();
	});
	</script>
 
 		
			


<h2><?php echo $this->titre;?></h2>

<form enctype="<?php echo $this->form->getEnctype(); ?>" method="<?php echo $this->form->getMethod(); ?>" action="<?php echo $this->form->getAction(); ?>" id="<?php echo $this->form->getId(); ?>" class="form-horizontal">
		 <?=$this->form->formation ?> 
		 <?=$this->form->datedebpre?>
		 <?=$this->form->datefinpre ?>
		 <?=$this->form->datedeb?> 
		 <?=$this->form->datefin?> 
		 <?=$this->form->nbr?> 
		 <?=$this->form->lieu?> 
		
		<div class="form-actions">
			<?=$this->form->enregistrer?> <?=$this->form->Annuler?> 
		</div>
	
 </form>

